package com.ruoyi.onlinevideo.service;/**
 * @InterfaceName: MessageService
 * @Description:
 * @Author: YourName
 * @Date: 2023-04-14
 */

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.onlinevideo.domain.Message;

import java.util.ArrayList;
import java.util.List;

/**
 *@InterfaceName: MessageService
 *@Description:
 *@Author: lilirui
 *@Date: 2023-04-14
 */
public interface MessageService extends IService<Message> {
    ArrayList<Long> getHisList(Long userId);

    List<Message> getMsgList(Long userId, Long remoteUid);

    Message getrecentmsg(Long userId, Long uid);
}
